import Vue from 'vue'
import Router from '../myRouter/index'
import Home from '../views/home.vue'
Vue.use(Router)
const router = new Router({
  routes: [
    {
      path: '/',
      name: 'Home',
      component: Home
    },
    {
        path: '/about',
        name: 'About',
        component: () => import('../views/about.vue')
    }
  ]
})
export default router